﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WarGame.aspx.cs" Inherits="WarCardGame.WarGame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center" >
    <table style="border: none; " align="center">
        <tr>
            <th style="font-size: 30px;">
                <asp:Label ID="lblPlayer1Name" runat="server"></asp:Label>
            </th>
            <th style="padding-left: 50px;">&nbsp;&nbsp;</th>
            <th style="font-size: 30px;">
                <asp:Label ID="lblPlayer2Name" runat="server"></asp:Label>
            </th>
        </tr>
        <tr>
            <td>Total Cards for player1: <asp:Label ID="lblp1TotalCard" runat="server" /></td>
            <td></td>
            <td>Total Cards for player2: <asp:Label ID="lblp2TotalCard" runat="server" /></td>
        </tr>
        <tr>
            <td style="text-align: center;"><asp:Button ID="btnp1Deal" runat="server" 
                    Text="Deal" onclick="btnp1Deal_Click" /></td>
            <td>&nbsp;</td>
            <td style="text-align: center;"><asp:Button ID="btnp2Deal" runat="server" 
                    Text="Deal" onclick="btnp2Deal_Click" /></td>
        </tr>
    </table>
    <table style="margin-top: 50px;" align="center">
        <tr>
            <td>&nbsp;</td>
            <td style="padding-left: 50px;"></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td><asp:Literal ID="ltrPlayer1Hand" runat="server"></asp:Literal></td>
            <td></td>
            <td><asp:Literal ID="ltrPlayer2Hand" runat="server"></asp:Literal></td>
        </tr>
        <tr style="text-align: center;">
            <td><strong>Player 1 card</strong></td>
            <td></td>
            <td><strong>Player 2 card</strong></td>
        </tr>
    </table><br/>
    <strong>Status Of Game: </strong> <asp:Label ID="lblStatus" runat="server" /><br/><br/>
    <asp:Button ID="btnEvaluate" runat="server" Text="Evaluate Hand" OnClick="btnEvaluateHand_Click" /><br />
    <br />
    </div>
    </form>
</body>
</html>

